package test;

import org.junit.Test;

public class Guiyi {

	@Test
	public void test1(){
		double x=0.37d;
		System.out.println(1/(1+x));
		System.out.println(1-x);
	}
	@Test
	public void test2(){
		g(0.32);
		g(0.36);
		g(0.37);
		g(0.38);
		g(0);
	}
	@Test
	public void test3(){
		
		g1(1000);
	}
	public static void g(double x){
		System.out.println("==x:"+x);
		//System.out.println((2-x*0.9)/2);
		System.out.println(1-x*1.2);
		System.out.println(1-x);
		//System.out.println(Math.expm1(1-x)-0.7182);
	}
	
	
	public static void g1(long c){
		long date=System.currentTimeMillis()/(1000*60*60*24);
		long count=100000+date*2+c;
		System.out.println("==x:"+count);
		
	}
	
}
